package com.nfc.lock.dto.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * 区域新增请求
 */
@Data
@Schema(description = "区域新增请求")
public class RegionAddRequest {

    @Schema(description = "区域名称")
    @NotBlank(message = "区域名称不能为空")
    private String regionName;

    @Schema(description = "区域类型")
    @NotNull(message = "区域类型不能为空")
    private Integer regionType;

    @Schema(description = "父区域ID")
    @NotNull(message = "父区域不能为空")
    private Long parentId;
}
